<!DOCTYPE html>
<html>

<head>
  <meta charset="UTF-8" />
  <title>Hello World!</title>
  <link rel="stylesheet" href="index.css" />
  <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self';">
</head>

<body>
  <nav>
    <a href="https://www.runoob.com/html/" target="_blank" rel="noopener">菜鸟教程</a>
    <a href="tag_demo.html" target="_blank" >首页</a>
    <a href="tag/tag.html" target="_blank">标签</a>
    <a href="#">服务</a>
    <a href="#">联系</a>
  </nav>
  <h1>💖 Hello World!😄😄😄😄😄😄</h1>
  <p>Welcome to your Electron application</p>
  <br>
  <br>
  <button id="btn1">点我</button>
  <br>
  <br>
  <button id="btn2" style="display: inline;">获取版本号</button>
  <label>渲染进程通过预加载脚本，调用部分node.js接口:</label>
  <br>
  <br>
  <hr>
  <input id="input1" type="text">
  <button id="btn3">向本地 写入hello.txt</button>
  <label>渲染进程通过预加载脚本，向主进程单向通信</label>
  <br>
  <br>
  <hr>
  <button id="btn4">读取hello.txt</button>
  <script src="render.js"></script>
  <label>渲染进程通过预加载脚本，跟主进程双向通信</label>

</body>

</html>